package com.xzy.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author xzy.xiao
 * @date 2022/4/2  15:32
 */
@Order(value = 2)
@Component
@Slf4j
public class MyCommandLineRunner1 implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        log.info("@Order(value = 2)    MyCommandLineRunner1...");
    }

}
